package com.huxiu.utils;

import android.content.Context;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.style.ClickableSpan;
import android.widget.TextView;

/**
 * Created by caoyuanjing on 15/12/8.
 */
public class TextTheam {
    private Context mContext;




    public static void mMessageSetting(String str,Context mContext,TextView mTextView){
        SpannableString spanttt = new SpannableString(str);
        ClickableSpan clickttt = new ShuoMClickableSpan(str, mContext);
        spanttt.setSpan(clickttt, 0, str.length(), Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
        mTextView.append(spanttt);
    }
}
